404's when fetching .eml files (from Action Mailbox)

Open
#581 1 comment 0 reactions 0 assignees View on GitHub

@rnamba-cloudinary is already working on this.

Since Oct 10, 2025.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rails, ruby
Domain
backend

Research direction

Start by reproducing the failure through /rails/conductor/action_mailbox/inbound_emails/ and follow the Error performing ActionMailbox::RoutingJob path for inbound .eml files. Inspect the Cloudinary Active Storage integration and verify that all existing inbound emails can be fetched without HTTP 404 responses.

Written by the indexing model from the issue text.

Description

Bug report for Cloudinary Ruby SDK

The issue persists on https://rubygems.org/gems/cloudinary 2.4

Describe the bug in a sentence or two.

Sometimes I get HTTP 404 when trying to fetch a .eml file (but the file exist in Cloudinary)

Initially reported in https://github.com/cloudinary/cloudinary_gem/issues/555

Issue Type (Can be multiple)

  • Build - Cannot install or import the SDK
  • Performance - Performance issues
  • Behaviour - Functions are not working as expected (such as generate URL)
  • Documentation - Inconsistency between the docs and behaviour
  • Other (Specify)

Steps to reproduce

  • Start a new Rails project
  • Set up Action Mailbox with Cloudinary as service
  • Run the rails server, visit /rails/conductor/action_mailbox/inbound_emails/ and create a few inbound emails
  • You must see the error Error performing ActionMailbox::RoutingJob in the logs (it doesn't happen for all inbound emails, so be patient and keep adding them)

Operating System

  • Linux
  • Windows
  • macOS
  • All

Environment and Libraries (fill in the version numbers)

  • Cloudinary Ruby SDK version - 2.4
  • Ruby Version - 3.1.7
  • Rails Version - 7.1.5.2
  • Other Libraries (ActiveStorage, etc) - activestorage = 7.1.5.2, actionmailbox = 7.1.5.2

Repository

If possible, please provide a link to a reproducible repository that showcases the problem

Dominant language
Ruby
Stars
420
Forks
282
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/cloudinary_gem

All issues in cloudinary/cloudinary_gem

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.