Unable to Connect to MLS API using Estatik Plugin
-
I am currently attempting to integrate the Estatik plugin with an MLS API and have encountered issues during the connection process. Below are the general details of my setup and the steps I have taken:
- API Endpoint for Authentication:
- I have an endpoint URL for authentication that requires a POST request method to retrieve an access token.
- Authentication Details:
- I have the necessary User ID and Password required for authentication.
- Steps to Retrieve Access Token:
- Using the provided credentials, I send a POST request to the authentication endpoint. This should return an access token for subsequent API calls to retrieve listings, metadata, etc.
- API Endpoint for Data Retrieval:
- There are specific URLs provided by the MLS API for accessing data such as listings and metadata.
- Issue Encountered:
- I have tried configuring the Estatik plugin using both the RETS and WEBAPI options, inputting the API URL and access token. However, I am unable to establish a successful connection.
- When attempting to connect, I receive errors such as
405 Method Not Allowed
and401 Unauthorized
.
- Error Details:
405 Method Not Allowed
: This error occurs when trying to authenticate, indicating that the GET method is not allowed for the authentication endpoint, which requires a POST request.401 Unauthorized
: This error suggests that the credentials provided might not be accepted, though they work correctly when tested with Postman.
Could you please provide guidance on the following:
- The correct configuration steps within the Estatik plugin to connect to an MLS API that requires a POST method for authentication.
- Any specific settings or adjustments that need to be made in the plugin to handle the POST request and store the access token for subsequent API calls.
- Any known issues or limitations with the plugin when integrating with this specific MLS API.
I have tested the API credentials and endpoints using Postman and confirmed that they are correct, as I can successfully retrieve the access token and access other endpoints when using Postman.
Your assistance in resolving this matter would be greatly appreciated.
- API Endpoint for Authentication:
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.