I'm trying to deploy an app to a packaging (Developer Edition) org. I successfully pulled the source from a scratch org and successfully converted the source using
I run the following command:
sudo sfdx force:mdapi:deploy -d metadata -u [my username] -w -1 --verbose --loglevel trace
...and the CLI outputs the following:
=== Result Status: Failed jobid: 0Af1I00000TWEFPSA5 Completed: 2017-11-29T20:38:01.000Z Component errors: 0 Components deployed: 182 Components total: 244 Tests errors: 0 Tests completed: 0 Tests total: 0 Check only: false
I see the following line in the sfdx.log file (log level was set to 'trace'):
\"errorMessage\":\"UNKNOWN_EXCEPTION: EXTERNAL_OBJECT_EXCEPTION: Could not locate metadata file: IotPsl-1.uld.xml\",\"errorStatusCode\":\"UNKNOWN_EXCEPTION\",\"id\":\"0Af1I00000TWEFPSA5\"
I don't know what the
IotPsl-1.uld.xml file is or why the error is an EXTERNAL_OBJECT_EXCEPTION.
Any information on what this error means or how to resolve it would be helpful.
I removed the permission set folder from the metadata directory, ran the mdapi:deploy command, and the operation succeeded. This was an educated guess based on the "Known Limitations" docs, which mentions that an "Unknown" error will be thrown when running the
force:source:push command after removing a permission set locally.
While I did not remove the permission set locally, nor did I have a problem with the
force:source:push command I guessed that the issues might be related to permission sets.
Any information on what might be the root cause of the problem or if this is a DX bug would be helpful.
I verified that I cannot create or modify any further permission sets via the metadata api and through the UI. The permission set screen in SF displays the following message: