I am receiving error during account load from one of the source using API

Request type: POST

{{api-url}}/cc/api/source/loadAccounts/id

form data :
disableOptimization=true

Response:

{
“msg_template”: “Missing or invalid arguments: {0}”,
“slpt_error_code”: “SLPT-1000”,
“formatted_msg”: “(SLPT-1000) Missing or invalid arguments: id”,
“exception_id”: “1808DC772F5”,
“errorDetail”: [
{
“code”: “typeMismatch”,
“field”: “id”,
“internalMsg”: “Unable to parse number [id]”,
“rejectedValue”: “id”
}
],
“error_code”: 1000,
“exception_class”: “com.cloudmasons.exceptions.SLPTInvalidArgException”,
“exception_detail”: {
“file”: “ApiSourceController.groovy”,
“method”: “loadAccounts”,
“line_number”: 1160,
“class”: “com.cloudmasons.ApiSourceController”
},
“http_response_code”: 400,
“timestamp”: “2022-05-04 06:35:00.213”,
“exception_message”: “(SLPT-1000) Missing or invalid arguments: id”,
“arg_list”: [
“id”
]
}

======

I am giving actual value of source id.

Seems like you are using external id of the source which is long number. You need to use the id which you see in source url.

https://random.identitynow.com/ui/admin#admin:connections:sources:15583:accounts

This is old api so uses cc id of the source.

Thanks @chirag_patel . It worked.!