Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push sample mails doesn't work and throws 403 unauthorized erro #21

Open
paulsndp opened this issue Jun 2, 2024 · 3 comments
Open

Push sample mails doesn't work and throws 403 unauthorized erro #21

paulsndp opened this issue Jun 2, 2024 · 3 comments

Comments

@paulsndp
Copy link

paulsndp commented Jun 2, 2024

The push sample mails using requests-btp.http file doesn't work and throws a 403 unauthorized error. I have followed the steps outlined in the discovery center mission.

@kay-schmitteckert
Copy link
Contributor

Hi @paulsndp,

I closed your other issue since its the same request. Did you try to run it locally as well?
403 unauthorized looks like there is some configuration wrong from CAP to Generative AI Hub.

Could you check your destination config and binding from CAP? Or if you can post it here, it would help to resolve.

Best
Kay

@paulsndp
Copy link
Author

paulsndp commented Jun 4, 2024

Hi @kay-schmitteckert Thanks for your response. The config and setup was done as per the discovery center mission steps. Currently the push email feature works after changes to the client credentials and hostname. However, when I open the app it straightaway throws a 403 forbidden error and doesn't pull up any emails. Also the add email feature on the app throws the same error. See attached screenshot.
Thank you.

@kay-schmitteckert
Copy link
Contributor

@paulsndp, did you add the respective roles to your user within the subaccount as mentioned in https://github.com/SAP-samples/btp-cap-genai-rag/blob/main/docs/tutorial/4-test/4-TestApplication.md#single-tenant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants