Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

403 Error when trying to create REST Data Source - Oracle Cloud Applications (Saas) REST Service

ScottHillierAug 6 2024 — edited Aug 6 2024

Hi guys

After a little help here.

I'm trying to test out the Oracle SaaS Rest Data Source in Apex 24.1. Specifically calling the invoices API.

I am following your video from here :

https://youtu.be/Qttr796kA0s?si=77jwJiELE3YpvVjs&t=113

I fill in the same details as shown in the video, except obviously I use my instance URL.

The endpoint I use is /fscmRestApi/resources/11.13.18.05/invoices

I have also set up the username and password in the Workspace Credentials section (though I have also tried ignoring this and just putting the Username and Password into the Rest Datasource directly and get the same results)

I follow all the same steps as the video but at the point I press the Discover button I get the following error :

Discovery error: Oracle APEX cannot compute a data profile from the response data of type: text/html.

<html> <head><title>403 Forbidden</title></head> <body> <center><h1>403 Forbidden</h1></center> <hr><center></center> </body> </html>

I have tried making the same REST call from SoapUI using the same username and password and get 200 success.

Can anyone tell me what's wrong ?

Thanks very much

This post has been answered by ScottHillier on Aug 8 2024
Jump to Answer
Comments
Post Details
Added on Aug 6 2024
4 comments
379 views