You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed you're using a different entryPointUriPath between the custom-application-config.json and constants.js.
It seems you're using the project key instead of the actual entry point in your constants.js file, which is then used to compute the permissions you have in your routes.js file.
You would need to update your constants.js file to use the same entry point value you have configured in your custom-application-config.json file.
There are also some hints about how to reuse these values between those two files that can make it easier to avoid this kind of miss-configurations.
For instance, your config file could be a JS file instead of a JSON and then you could import the constant in it so you are sure both files use the same value.
You can read more about this in this section of the migration guide.
Nice, using the correkt value for entryPointUriPath did resolve my permission problem.
Now the app is missing IntlProvider in react ancestry, but this look more like regular React errors.
I think I can handle it.
Hello Support,
this is not bug request but more an migration support request. I'm currently using following guide https://docs.commercetools.com/custom-applications/migrating-from-project-level-custom-applications to migrate our custom application new required "Project-level Custom Applications". I'm mot sure how to proceed with my issue. Commercetools support adviced me to post here my issue.
Original ticket ID: SUPPORT-16848
General Information
Migration Procress already done
** We moved from
@commercetools-frontend/* v18
to@commercetools-frontend/* v21
Current Problem
entryPointUriPath
in React, but 'access denied' turned only into 'crash error'.Relevant JS & Config files
package.json.txt
custom-application-config.json.txt
routes.js.txt
constants.js.txt
Any help is appriciated.
Kind Regards,
Chris
The text was updated successfully, but these errors were encountered: