sky-api-auth-tutorial authenticates and then returns no user mapping exists for user identifier

I have created a first sky app and gotten it authorized to access the company Financial Edge database but when I run the app it calls login and returns a valid session but then gets a Proxy error status code 400: No user mapping exists for user identifier xxx and tenant yyy.

I had a colleague put in his sky.env variables a and point to his sky app (which uses the same company Financial Edge database) and it worked for him. So I deleted my sky app and recreated it, getting it reconnected to the Financial Edge database, but i still get the same results.

Any suggestions on how to track this down and fix it?

Comments

  • Hi Daniel,

    Looking at the logs, it appears you are calling the Constituent API (RENXT) and not an FENXT endpoint. You can see the list of FE related endpoints using the SKY API endpoint reference filtered to FENXT.

    0cbf47eec51ea8c5f232aef0f830e593-huge-im

    If you would like to call RENXT endpoints, your user will need to be mapped to RENXT as well.

  • I was authorized for Financial Edge, but not Raizor's Edge on this project. That seems like the cause of the problem.

  • Indeed, getting access to the Raizor's Edge platform for this project solved the problem and it works now. How did you find the log entries for my sky app? They would be very useful to see.

  • Hi Daniel,

    I work on the SKY API Team, so I have access to most things. You should be able to see API requests in the Analytics area of the Developer portal

Categories