360 Spin API Errors: 401, 404, 400 & Failed Status Guide

Cloudpano
August 25, 2026
5 min read
Share this post

Spin API Error Handling: What 401, 404, 400, and Failed Status Really Mean

When you're building vehicle spins into a dealership inventory workflow, getting the upload right is only part of the process.

The CloudPano Spin API accepts a walk-around video and processes it into a 360° vehicle spin. But like any API-driven workflow, problems can occur during authentication, upload, lookup, or processing.

Understanding the difference between these failures makes troubleshooting much easier.

The full technical reference is available in the Spin API documentation. This guide focuses on the practical side of error handling: what each failure means, why it happens, and what you can do next.

Understanding the Two Types of Spin API Failures

Before looking at individual errors, there's one important distinction to understand.

Spin API problems generally fall into two categories:

HTTP-level errors happen when the request itself cannot be completed successfully.

These include:

  • 401 — Unauthorized
  • 404 — Not Found
  • 400 — Bad Request

A failed processing status, on the other hand, happens after the request has already been accepted. The API was able to receive the job, but the supplied footage couldn't be turned into a completed spin.

These situations require different solutions, so your integration should treat them separately.

401 — Unauthorized

A 401 Unauthorized response indicates an authentication problem.

The request may be missing the required API credential, the credential may be malformed, or the key may no longer be active.

Common Causes of a 401 Error

You may encounter a 401 response when:

  • The API credential wasn't included correctly.
  • The key contains a typo or was entered incorrectly.
  • The key has been revoked.
  • An application is still using an older credential after key rotation.
  • The wrong credential is being used for a particular environment.

How to Fix It

Start by confirming that your application is using the expected API key and that the credential is still active.

If you've recently rotated credentials, make sure every application, service, or background worker that communicates with the Spin API has been updated.

It's also useful to maintain separate credentials for different environments rather than unnecessarily sharing the same key across production, staging, and testing.

For more information about securely managing credentials, see Authenticating With the Spin API.

404 — Not Found

A 404 Not Found response means the requested vehicle spin couldn't be found in the context of the request.

This can happen because the stored spin ID is incorrect or because the lookup is being performed using the wrong account or credential context.

Common Causes of a 404 Error

Check for:

  • An incorrectly stored spin ID.
  • A typo or truncated ID.
  • A mismatch between the credentials used during upload and lookup.
  • An environment mismatch, such as attempting to retrieve a production job from a staging workflow.

How to Fix It

Make sure the complete spin ID is stored when the job is initially created.

If your infrastructure uses multiple credentials or environments, also verify that the service checking the spin is operating in the correct account context.

Keeping the upload and processing information together can prevent confusing 404 errors later in the workflow.

400 — Bad Request

A 400 Bad Request response generally indicates that authentication succeeded but something about the submitted request wasn't acceptable.

For vehicle uploads, possible causes include a missing video, an invalid or corrupted file, or a video that exceeds the 500 MB upload limit.

Common Causes of a 400 Error

A 400 response may occur when:

  • No video was provided.
  • The uploaded file isn't a valid supported video.
  • The video is corrupted.
  • The file exceeds the maximum upload size.

Prevent the Problem Before Uploading

Many upload-related problems can be detected before sending a large video file.

If you're building a dealership-facing upload interface, validate the selected file before beginning the upload.

Instead of displaying a generic error, tell the user exactly what needs attention.

For example:

File too large: Choose a smaller video or adjust the recording settings.

Unsupported or invalid video: Select a supported video file.

Missing video: Select a walk-around recording before continuing.

This makes the workflow much easier for dealership employees who don't need to understand HTTP status codes to correct the problem.

For additional capture and upload guidance, see Uploading Walk-Around Video to the Spin API.

Failed Status: When the Upload Worked but Processing Didn't

This failure is different from a 400, 401, or 404 response.

The vehicle footage can be uploaded successfully and the processing job can begin normally, but the system may later determine that it cannot create a usable spin from the supplied footage.

In that situation, the job reaches a failed state rather than a ready state.

That's an important distinction:

HTTP error → Something went wrong with the request or access.

Failed processing status → The request was accepted, but the vehicle spin couldn't be completed.

Your application should treat these as separate failure types.

Why Vehicle Spin Processing Can Fail

Processing failures are often related to the quality or completeness of the source footage.

Possible causes include:

  • An incomplete walk-around
  • Excessive camera movement
  • Interrupted capture
  • Poor lighting
  • Insufficient visual information
  • Footage that doesn't meet the recommended capture guidelines

In these situations, repeatedly submitting the same footage may not solve the problem.

The better next step is often to record the vehicle again using the recommended capture technique.

Capture Checklist for Failed Spins

Correct car walk-around capture technique for CloudPano Spin API showing a full circle around the vehicle with a phone

If you're repeatedly encountering failed processing jobs, review the source footage before assuming there's a problem with the API.

Complete the Full Walk-Around

Capture one complete circle around the vehicle.

Avoid stopping halfway, reversing direction, or skipping a portion of the vehicle.

Record in Landscape Orientation

Use landscape orientation when recording the vehicle walk-around.

Keeping the phone orientation consistent throughout the recording provides more suitable footage for the vehicle-spin workflow.

Aim for 20–60 Seconds

The recommended capture duration is approximately 20 to 60 seconds.

This gives the system enough footage to work with while keeping the walk-around focused on a single continuous rotation.

Capture at 2.5K Resolution or Higher

Higher-resolution source footage provides more visual information for processing.

The source guidance recommends 2.5K or higher for better results.

Maintain Steady, Continuous Movement

Walk at a reasonably consistent pace.

Avoid abrupt movements, unnecessary stops, reversing direction, or changing camera operators during the recording.

Pay Attention to Lighting

Try to keep the vehicle clearly visible throughout the entire walk-around.

Extreme backlighting, deep shadows, or dramatic lighting changes can make the source footage more difficult to process.

Give Users the Right Error Message

A strong integration shouldn't simply tell dealership staff:

“Something went wrong.”

The message should explain what they can do next.

For example:

Authentication problem: Check the API credential.

Spin not found: Verify the spin ID and account context.

Invalid upload: Check the video file and upload requirements.

Processing failed: Record a new walk-around and try again.

The person recording vehicles doesn't need to understand the technical architecture behind the API. They need a clear instruction that helps them solve the problem.

Don't Treat Every Successful Request as a Successful Spin

CloudPano Spin API error handling decision tree for 401, 404, 400, failed, and ready statuses

One of the most important lessons when working with asynchronous processing is that a successful request doesn't necessarily mean the final vehicle spin is ready.

Your integration needs to distinguish between:

Request success and processing success.

A job can be accepted successfully and still fail during processing.

That's why your workflow should continue monitoring the processing state until the spin reaches its final outcome.

For more information about handling asynchronous processing, see Polling the 360 Spin API.

Build Error Prevention Into the Workflow

Good error handling isn't only about reacting after something fails.

You can prevent many problems before they reach the API.

For dealership-facing workflows, consider checking:

  • Whether a video has been selected
  • Whether the file uses a supported format
  • Whether the file is within the maximum upload size
  • Whether the staff member followed the recommended capture process

The clearer you make these requirements during capture, the fewer avoidable errors your integration will need to handle afterward.

Putting It All Together

Reliable Spin API error handling comes down to understanding what kind of failure you're dealing with.

A 401 points toward authentication.

A 404 points toward the requested spin or account context.

A 400 points toward the submitted request or video.

A failed processing status means the request was accepted, but the footage couldn't be turned into a completed spin.

Once your integration distinguishes between these situations, troubleshooting becomes much more straightforward.

Validate uploads before they're submitted, keep credentials and environments organized, monitor processing until completion, and give dealership staff clear instructions when something needs to be corrected.

For the workflow leading into error handling, see How to Create a Car 360 Spin With One API Call and Uploading Walk-Around Video to the Spin API.

If you haven't configured authentication yet, Authenticating With the Spin API covers API key management and rotation in more detail.

Read the Spin API Documentation

The Spin API documentation contains the current endpoint information, parameters, authentication requirements, processing statuses, and error-handling details.

Use the documentation as the technical reference and this guide as a practical troubleshooting framework for building a more reliable vehicle-spin workflow.

🚀 Your All‑In‑One Virtual Experience Stack
🎬
PhotoAIVideo
Turn photos into scroll‑stopping AI videos.
Get Started →
🏡
Pictastic
Instantly stage listings with AI.
Try Staging →
🌀
CloudPano
Create stunning 360° tours in minutes.
Launch Tour →
💰
VirtualTourProfit
Build a profitable virtual tour business.
Learn More →
🤝
CloudPano Reseller
Resell AI visual software without building it.
Become a Reseller →
🚗
Auto CloudPano
Sell more vehicles with 360° experiences.
Explore Auto →
🏗️
AI Floor Plan Builder
Generate detailed floor plans with AI.
Build Now →
📐
3D Measure
Capture accurate floor plans & 3D measurements.
Measure Now →
🧠
AI Training Data
Custom AI training data services.
Learn More →
Share this post
Cloudpano

Choose The Right 360° Camera

Insta360 ONE RS 1-Inch 360 Edition

  • Compact, ready to go anywhere

  • Interchangeable lens that’s upgradeable

  • Dual 1-inch sensors for improved clarity and low light performance

  • Dynamic range and 6K 360° capture

  • 360° photo resolution at 21MP

Learn More

Insta360 X4

  • 8K 360° video recording for ultra-detailed visuals.

  • 4K single-lens mode for traditional wide-angle shots.

  • Invisible selfie stick effect for drone-like perspectives.

  • 2.5-inch touchscreen with Gorilla Glass protection.

  • Waterproof up to 33ft for underwater shooting.

Learn More

Ricoh Theta Z1

  • 360° photo resolution in 23MP

  • Slim design at 24 mm thick

  • Built-in image stabilization for smooth video capture.

  • Internal 19GB storage for photo and video storage.

  • Wireless connectivity for remote control and sharing.

Learn More

Ricoh Theta X

  • 60MP 360° still images for high-resolution photography.

  • 5.7K 360° video recording at 30fps.

  • 2.25-inch touchscreen for intuitive control.

  • USB Type-C port for fast charging and data transfer.

  • MicroSD card slot for expandable storage.

Learn More
Property Marketing
Allows potential buyers to explore properties in detail from anywhere, enhancing the real estate marketing process.
Automotive Spins
Create an interactive virtual showroom and engage affluent digital buyers with live 360º video calls, all through the CloudPano mobile app for a complete automotive sales solution.
Interactive Floor Plans
Create 2D and 3D floor plans with measurements in 4 minutes or less, all from your phone. Download the Floor Plan Scanner app and get your first scan free.

360 Virtual Tours With CloudPano.com. Get Started Today.

Try it free. No credit card required. Instant set-up.

Try it free
Latest posts

See our other posts

Interviews, tips, guides, industry best practices, and news.

360 Spin API Response: Full Field Reference

A ready spin from the CloudPano Spin API comes back as a deep JSON object, not a single image URL. This is the field-by-field reference for what's in result — frames, mosaics, geometry, tour, annotations, and meta — and what to actually build with each one.
Read post

360 Spin API Errors: 401, 404, 400 & Failed Status Guide

Not every failed spin is a bug in your code. This guide walks through every 360 spin API error you'll actually see — 401, 404, 400, and the status: failed response — with the real cause and the fix for each.
Read post

Spin API Video Upload Guide: Formats & 500MB Limit

A definitive guide to preparing and uploading walk-around video to the CloudPano Spin API — accepted formats, the 500MB ceiling, correct capture technique, and the difference between a 400 error and a failed spin.
Read post