TSDS Submission - Error Unexpected API response

Description of Issue

I am getting an error when I attempt to submit:

Unexpected API response, API status code:401 OR Unexpected API response, API status code:404

Error details include:

Unable to acquire bearer token, status code: 401 OR Unable to acquire bearer token, status code: 404

Context
  • Payroll
  • Financials
  • Texas
  • TX TSDS Reporting 
Cause

The 401 status code, also known as the "Unauthorized" error, indicates that the authentication credentials are not valid.  i.e. An issue with the Key and/or Secret entered into EERP.

The 404 status code, also known as the "Not Found" error means that the requested resource is not available or does not exist.  i.e. An issue with the URL entered into EERP.

Resolution

Re-enter Ed-Fi API Credentials. 

  1. Open the TX TSDS Reporting program. 
  2. On the Setup tab, select Ed-Fi API Credentials
  3. Select Update. This program is used for many applications in the EERP software and you may find that other entries already exist.  If that is the case, tab to a new line. 

  4. Complete the fields as follows: 
    1. Resource ID: Select STTXTSDS – TX TSDS API integration
    2. Name: Enter ED-FI Connection (unless you report more than one District to TEA, in which case you will create one line with a unique name for each District you report for).
    3. URL: Enter the API URL value from the Key and Secret dialog box when you generated your key and secret.
    4. User ID: Enter the Key value from the Key and Secret dialog box when you generated your key and secret.
  5. Enter the Secret value from the Key and Secret dialog box when you generated your key and secret in both the New and Re-enter password fields.
  6. Select OK
  7. Select Accept.
  8. Select Save Changes.
  9. Select Back to return to the TSDS landing page.

NOTE: Do NOT select Test Resource Connection.  It is not intended to be used with the TX TSDS API Integration and will not work, if selected.