Skip to content

[Bug] file_id returning as rom_id on /roms/rom_id/content/name/file_id API call #3372

Description

@baileyknez

RomM version
4.9.0-alpha.2

Describe the bug
When I go to play a rom the API call is coming back as 404 because the file_id is wrong in the call. It is making the call with the file_id the same as the rom_id.

When I take the API call and replace the file_id with 0 or the appropriate ID it works.

To Reproduce

  1. Install romm on proxmox virtual environment 9.1.11 using the helper script
  2. Mount a NAS (I am using Terrramaster OS) to the romm container
  3. Point Romm .env file to mounted NAS and point it to the rom folder
  4. Make sure roms are in correct folder
  5. Run complete scan and wait for roms to get loaded.
  6. Go to run game in browser
  7. Get network error
  8. Check console logs
  9. See bad API call.

Expected behavior
For the API call to work and have the system download the ROM in order to play in browser.

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image Image Image

Server (please complete the following information):

  • OS: proxmox virtual environment
  • Version 9.1.11

Client (please complete the following information):

  • Device: MAC MINI
  • OS: macOS Sequoia Version 15.1
  • Browser Hellium and Safar

Additional context
Add any other context about the problem here.

it worked when I uploaded one file but when I changed the folder path it stopped working and started pointing to the wrong file_id. It also happens with any type of file I use. None of the roms work now.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions