Method name
- Quick start guide
- Troubleshooting
- Headers and Responses
- Sample code
- GET filmsNowShowing
- GET filmsComingSoon
- GET filmLiveSearch
- GET cinemaLiveSearch
- GET filmDetails
- GET cinemaDetails
- GET cinemasNearby
- GET cinemaShowTimes
- GET filmShowTimes
- GET closestShowing
- GET purchaseConfirmation
- GET images
- GET trailers
Troubleshooting
Introduction
This page provides an overview of how to troubleshoot your API requests.
Error messages
See the Response Status Codes section of this Headers and Responses page.
CORS Errors
Here’s our list of things to try:
- CORS errors are often caused by invalid requests – usually in the headers.
- Check the header response, in particular the MG-message field, which contains detailed information on any errors that need resolving
- Localhost Server related – sometimes the set up of localhost servers can cause the issue. Check out these resources:
- The ultimate guide to enabling Cross-Origin Resource Sharing (CORS) – LogRocket Blog
- Avoiding CORS Errors on Localhost (in 2020) | by Andy Potts
- https://cors-anywhere.herokuapp.com/
If you experience the errors, and identify solutions not listed here, please let us know by emailing support@movieglu.com, so that we can make them available to others.
Incorrect Case Used
The API method names are case sensitive. If you see this message, or similar, then check that you have used the same cases as in the documentation.
“message”: “Authorization header requires ‘Credential’ parameter. Authorization header requires ‘Signature’ parameter. Authorization header requires ‘SignedHeaders’ parameter.
For example, you will see this error message if you use GET “CinemaDetails”. But it will work fine if you use “cinemaDetails”.
HTTP 429
You ran out of quota