apigee / devrel

Common solutions and tools developed for Apigee
Apache License 2.0
181 stars 157 forks source link

Sackmesser - Developer Email Address - Casing #696

Open billabongrob opened 10 months ago

billabongrob commented 10 months ago

The sackmesser tool is capable of performing edge exports that can be used to import into Apigee X. When using the exported content, one error that we ran into when executing and import was POST https://apigee.googleapis.com/v1/organizations//developers

{
  "error": {
    "code": 400,
    "message": "email address has to be lowercase",
    "status": "INVALID_ARGUMENT"
  }
}

Would it make sense to either add a flag for the type of env it's planned to be imported to or similar, in order to trigger a thing (sed, etc..) to clean this up?

danistrebel commented 10 months ago

Thanks for the issue report @billabongrob! This is great feedback.

I think a lowercase transformation if the developer is imported to X/hybrid should be a reasonable thing to do.