Incorrect error code in Response for all API's when Data partiiton ID missing

Incorrect error code in Response for all API's when Data partiiton ID missing

Actual Error : { "code": 500, "reason": "Access denied", "message": "The user is not authorized to perform this action" }

Expected error is : 403