ORA-44787: Service cannot be switched into

If you have created and enabled a new service and then created a pluggable database, you may receive this error if you want to switch the container containing the session.

Error:

ORA-44787: Service cannot be switched into

Solution

The problem will not occur when the pluggable database is closed and opened. Or create service after creating pluggable database.

You can then change the container without receiving this error.