Hello,
My APEX workspace has a critical issue with the REST Data Source component that prevents me from connecting to the RAWG.io game API.
The Problem: The connection fails, sometimes with an HTTP 401 - API key is not found error, and other times with a successful HTTP 200 but an empty JSON response ("count": 0).
Proof the API is Valid: I have proven that the API endpoint and my key are correct. When I access the full URL (https://api.rawg.io/api/games?key=...) directly in my browser, it works perfectly and returns the full JSON data.
Failed Methods in APEX: We have tried every possible configuration method, and all have failed inside the APEX environment.
- Static Parameters: Defining the API key as a static parameter fails.
- Web Credentials: This fails with various errors, even with perfectly matching URLs.
- Hardcoding: As a final test, we hardcoded the entire working URL (including the key) into the
URL Path Prefix. This still fails within APEX, proving that the component is incorrectly modifying or failing to send the request.
This is not a configuration issue. The component is fundamentally broken in this environment. I can provide a guest developer login to my workspace for direct investigation.
Thank you.