Sage300 Commitment api fail to initialize

I have been working with Sage300 Commitments api, in the local environment all worked fine, but when i'm trying to use the published version i'm getting this error, "CommitmentManager not correctly initialized. Vendor not valid, please initialize AP before calling this API", am I missing some configuration?