Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)

Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)

Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)
Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)
2026-02-10 01:38:07 - last edited Tuesday
Model: OC200  
Hardware Version: V1
Firmware Version: 5.7.6

local.INFO: Time value sent for  authorization: {"time":"2592000000"} 
local.INFO: Authentication Omada:  [{"stdClass":{"errorCode":-1,"msg":"General error."}}] 
 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)-Solution
2026-02-10 07:29:35 - last edited Tuesday

Hi  @stha 

 

Thanks for posting here.

 

Issue Analysis:

  1. Time Value2592000000 milliseconds = 30 days (which seems like a very long session/authorization time)
  2. Error Response: Omada API returned errorCode: -1 with message "General error."

Potential Causes:

  1. Invalid/Expired Token: The authorization token might be expired or invalid
  2. Session Timeout: 30-day authorization might exceed system limits
  3. API Configuration: Incorrect API endpoint or credentials
  4. Network/Connectivity: Issues reaching the Omada authentication server
  5. Rate Limiting: Too many authentication attempts

 

BTW, Omada Controller v.5.7.6 is really old; you may update to the latest version.

 

 

Recommended Solution
  0  
  0  
#2
Options
3 Reply
Re:Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)-Solution
2026-02-10 07:29:35 - last edited Tuesday

Hi  @stha 

 

Thanks for posting here.

 

Issue Analysis:

  1. Time Value2592000000 milliseconds = 30 days (which seems like a very long session/authorization time)
  2. Error Response: Omada API returned errorCode: -1 with message "General error."

Potential Causes:

  1. Invalid/Expired Token: The authorization token might be expired or invalid
  2. Session Timeout: 30-day authorization might exceed system limits
  3. API Configuration: Incorrect API endpoint or credentials
  4. Network/Connectivity: Issues reaching the Omada authentication server
  5. Rate Limiting: Too many authentication attempts

 

BTW, Omada Controller v.5.7.6 is really old; you may update to the latest version.

 

 

Recommended Solution
  0  
  0  
#2
Options
Re:Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)
2026-02-13 08:53:15

Regarding the 30-day (2592000000 ms) authorization time, we have been using this setting consistently, and it has been working without any issues. Therefore, we do not believe the session duration itself is the cause.

The "General error" (errorCode: -1) does not occur for all devices. It happens only for certain specific devices, while others are authorized successfully under the same configuration.

 

  0  
  0  
#3
Options
Re:Error Code -1 (General Error) on External Portal Server authorize API (Omada Controller v.5.7.6)
2026-02-27 07:25:41

Hi  @stha 

 

To understand the situation better, please give us the following info:

1. A screenshot of the Device page of the controller, showing the firmware version of the SDN devices;
2. What kind of controller are you using? What's the firmware version?
3. What configuration are you trying to do? Please describe some backgrounds.

  0  
  0  
#4
Options

Information

Helpful: 0

Views: 199

Replies: 3