Hi,
I have the same application installed in two different databases, same workspace ID, in one case application ID is 102, on ADB is 105 (in both databases I have APEX version 24.1.x).
Although the import process seems to allow this type of situation, when I try to finalize the import of the components SQL file into ADB, it blows up with “Bad Request” HTTP 400.
After manually replacing 102 with 105 in the component export file (actually the occurrences in the first executable lines of the file), I was able to import the components successfully.
Hope it helps.
Flavio