Skip to main content

Why do I get a "public ID too long" error when trying to fetch from a remote URL?

Comments

2 comments

  • Origami Support

    Would it be possible to use a randomly generated ID instead of relying on the URL? You offer this when using the upload api.

    0
  • Nadav Ofir

    Dynamically specifying public IDs is only available with explicit uploading approaches (i.e. with the upload API), but not with 'fetch' - that's because the URL used to access the image is the same one that tells Cloudinary where to grab it from. You may want to consider switching to upload-mapping (original name is being preserved) or regular uploading (complete flexibility)

    0

Please sign in to leave a comment.