learn.forge.viewmodels icon indicating copy to clipboard operation
learn.forge.viewmodels copied to clipboard

Error 404 on localhost:3000

Open Arifi opened this issue 4 years ago • 1 comments

Hi, I'm trying to make this tutorial (php) and i'm getting blank page with HTTP Error 404, any idea ? nothing in debugger, nothing enywhere else... When calling this uri http://localhost:3000/api/forge/oss/buckets i get this error

( ! ) Notice: Undefined index: id in D:\ArMediaCG\www\...\AutoCad API Extention\apps\Forge\first_tutorial\server\oss.php on line 54
Call Stack
#	Time	Memory	Function	Location
1	0.8060	405488	{main}( )	...\index.php:0
2	0.8591	519816	Klein\Klein->dispatch( )	...\index.php:50
3	0.8661	552248	Klein\Klein->handleRouteCallback( )	...\Klein.php:572
4	0.8661	552248	call_user_func:{D:\ArMediaCG\www\...\AutoCad API Extention\apps\Forge\first_tutorial\vendor\klein\klein\src\Klein\Klein.php:859} ( )	...\Klein.php:859
5	0.8661	552248	{closure:D:\ArMediaCG\www\...\AutoCad API Extention\apps\Forge\first_tutorial\index.php:27-30}( )	...\Klein.php:859
6	0.8661	552288	Autodesk\ForgeServices\DataManagement->getBucketsAndObjects( )	...\index.php:29

( ! ) Fatal error: Uncaught InvalidArgumentException: Missing the required parameter $bucket_key when calling getObjects in D:\ArMediaCG\www\...\AutoCad API Extention\apps\Forge\first_tutorial\vendor\klein\klein\src\Klein\Klein.php on line 925
( ! ) Klein\Exceptions\UnhandledException: Missing the required parameter $bucket_key when calling getObjects in D:\ArMediaCG\www\...\AutoCad API Extention\apps\Forge\first_tutorial\vendor\klein\klein\src\Klein\Klein.php on line 925
Call Stack
#	Time	Memory	Function	Location
1	0.8060	405488	{main}( )	...\index.php:0
2	0.8591	519816	Klein\Klein->dispatch( )	...\index.php:50
3	0.8751	667432	Klein\Klein->error( )	...\Klein.php:629

Arifi avatar Jun 10 '20 16:06 Arifi

Missing the required parameter $bucket_key

Dshufeng avatar Aug 03 '20 05:08 Dshufeng