Api key woking locally but not after deployment

Read this support guide

Based on the information you’ve provided I can offer no further advice.