Autodesk Forge: Viewer now returns 403 for authenticated requests

Currently, I am in the process of developing a proof of concept project using the Autodesk Forge platform. The project involves a .Net MVC page that utilizes the JS library provided by Autodesk for the viewer (v2.13)

Suddenly, I have started encountering a 403 error when attempting to view a model. Even though the model was uploaded back in June and has not been altered since then, every time I generate a new auth token for the user on page load, the calls still result in a token being generated.

All requests for data are made against the URI:

However, all recent attempts to load the model are met with a 403 error displaying {fault.name} - The client_id specified does not have access to the api product as the error message. This issue arose within the last hour or so.

I am able to create new auth tokens, but the problem persists when trying to retrieve the model. Interestingly, our hosted demo platform (used for showcasing internal users off-site) has not undergone any code changes in the past week and is exhibiting the same behavior. This leads me to suspect that there may have been a modification in the referenced Autodesk Forge libraries (such as ) or a potential service issue with the viewer service.

If needed, I can provide truncated code snippets (with sensitive details removed) for further investigation.

Answer №1

Your application is currently utilizing the outdated Viewer v1 API, as indicated here on this page.

For more information on how to resolve this issue and update your application, visit this related blog post.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Creating randomly colored rectangles using JavaScript

I've been working on a project where I want to input a number into a form and generate that many boxes with random colored backgrounds when I press go. Here is the current JavaScript code: <script type="text/javascript"> var number = 3; functi ...

Updating the Navigation Bar and Theme in CRM Dynamics 2013 to Reflect Your Organization's Branding

In my CRM Dynamics 2013 setup, I am faced with a unique challenge. I need to customize the Organization navigation bar based on which organization is currently loaded. Specifically, I have two organizations - QA and PROD. When a user switches to the QA org ...

Endless AngularJS loop using ng-view

I recently started experimenting with AngularJS for a new project I am working on, but I have encountered a problem when dealing with routes and views. For the sake of simplicity, I have minimized this example to its basic form, yet the issue persists. Th ...

Passing the return value of a function from a utility file to the state within a React component

I am currently reorganizing my functions to make them more modular in a neat way. My goal is to extract the return value from these functions and assign each of them to a state within my component. Although the functions successfully invoke and log the val ...

It can be frustrating to have to refresh the page twice in order to see changes when utilizing the revalidate feature in Next

When I make the REST call to fetch data for my page using the code below: // src/app/page.js const Home = async () => { const globalData = await getGlobalData(); return ( <main'> <SomeComponent data={globalData} /> < ...

Identify the visitor who accessed the page using PHP

I searched extensively for a solution to this query, but came up empty-handed. My situation involves a PHP-generated page that creates a JSON string. This string is then retrieved by javascript/jQuery/AJAX. I am faced with the challenge of displaying a m ...

Create a spinning animation similar to the BBC iPlayer rotation effect using HTML5, Canvas, JavaScript, and other

Looking to achieve a dynamic effect similar to the one showcased on the BBC iPlayer, where circles and arcs gracefully rotate around a central point. To create this effect, I am aware that utilizing the Canvas element and implementing drawing code for the ...

Tips for creating AngularJS forms which display radio buttons and populate data from a JSON file

I'm having trouble displaying the json data correctly. How can I show the radio buttons from my json file (plunker demo)? Additionally, I want to validate the form when it is submitted. Here is the HTML code: <my-form ng-app="CreateApp" ng- ...

Using Javascript to retrieve form data from a separate file

I am struggling with my HTML and JavaScript files to collect data. Despite my efforts, the function is not executing properly. Below is the code I have been working on: HTML File : <form class="form-newsletter"> <div class="form-group"> ...

Limit the velocity of an object in Box2D using JavaScript

In my Box2D simulation, a collection of dynamic objects is experiencing various random forces. Is there a way to set a maximum speed for each object (both translational and rotational)? I considered implementing a workaround, but I'm curious if the e ...

Click to activate the Selectfield option

There are 3 links that populate the select field with various options. When the text label is active and someone clicks on the link selectlist1 or another, it should activate the select label. How can this be achieved? <!doctype html> <html> ...

Using Javascript to update various element styles using their corresponding IDs

I am currently working on implementing a dark mode feature and I am encountering an issue when trying to change the CSS of multiple elements at once. This is my JavaScript code: var elem = document.getElementById('fonts'); for(var i= ...

Tips on showcasing the elements within a div container using flexbox

Seeking advice on positioning items/cards using flexbox in my initial react app. The issue lies with the div within my card component where applying display: flex; turns every card into a block (column-like) structure, flexing only the content within each ...

You cannot utilize Lesson as a JSX Component in Next JS TypeScript

Below is my updated page.tsx code: import Aspects from '@/components/Aspects'; import FreeForm from '@/components/FreeForm'; import Lesson from '@/components/Lesson'; import React from 'react'; import { Route, Route ...

In certain situations, the JavaScript code runs either before or after the print dialog is displayed when using the window

I am facing an issue with the print function on my web page. I want to display a thank you message to the user after they have either printed or cancelled the print dialog. Below is a simplified version of the print function code: function printThenThank ...

Utilize load-grunt-configs and run bower.install() with grunt

I have been attempting to break down my current Gruntfile into smaller parts for better clarity. However, I have encountered a hurdle while using bower.install to manage project dependencies. My directory structure appears as follows: package.json bower.j ...

Unable to access cordova.js for Cordova vibration feature

I'm attempting to create a basic Cordova app for Android that involves vibrating the phone when a button is clicked, but I can't seem to get it to work. I've been using PhoneGap and have included the cordova-plugin-vibration, but I keep gett ...

Issue encountered when attempting to transfer data to MongoDB using custom API

Currently, I have been working on a flutter application that is designed to send data to my custom API built in node js. This API then forwards the data to a MongoDB cluster. While testing the API, everything was functioning correctly and the data was succ ...

Filtering in Angular by two specific dates

I am looking to implement a date range filter for displaying specific data based on user input. The requirement is to show only the data that falls within the selected "From" and "To" dates. Currently, the data array includes only one date, but I need to r ...

I have observed that the form on an ASP.NET MVC Partial View can only be submitted after pressing the Enter key twice on the

**** Update - This issue seems to be specific to MS Edge. It functions properly with just one Enter key press on Chrome and Firefox.** I encountered a strange problem where a form only gets submitted after pressing Enter key twice in a text box. The form ...