Autodesk-Forge / learn.forge.viewmodels

Learn Forge Tutorial: View your models using 2-legged OAuth. Available in Nodejs, .NET, Go, PHP & Java
http://learnforge.autodesk.io
MIT License
105 stars 86 forks source link

Error 404 on localhost:3000 #39

Open Arifi opened 4 years ago

Arifi commented 4 years ago

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
Dshufeng commented 4 years ago

Missing the required parameter $bucket_key