Rails Active Storage Integration Error when attempting to reset database after adding Cloudinary

Ali
Ali Member Posts: 2

I am new to Cloudinary and I am trying to set up Cloudinary with Active Storage in a Rails 7 app.

After following the instructions on your site, I tried to reset and reseed my development database, which includes Active Storage Attachments. I am receiving the following error "ActiveStorage::IntegrityError: Error parsing server response (404)" and "Caused by: JSON::ParserError: 859: unexpected token at '<!DOCTYPE html> ..." followed by a wall of html.

I'm not sure what I am doing wrong. How can I tell what is causing this error?

Thank you.

Tagged:

Best Answer

  • Ali
    Ali Member Posts: 2
    Answer ✓

    Nevermind. I realized I forgot to add ERB tags to my yml file.

Answers

  • Tom
    Tom Member, Cloudinary Staff Posts: 113

    Hi @Ali ,

    Thanks for the update, glad you were able to resolve it!

    Please let me know if you have any other questions or queries.

    Kind Regards,

    Thomas