When i use the Example to Create an API - Community Edition but fail

this is the picture i operate

That Authorization header looks odd, why does it end in -s?

i follow the Documentation from web,then i drop the -s but back info is same

What’s in your tyk.conf for secret?

And can you share your gateway logs? Maybe not as a screenshot?

this is syslog i has not find the gateway logs,could you help me
Jul 28 18:46:16 redcat2-pc daemon/dock[10702]: runtime_apps.go:314: org.gnome.gedit change to dock
Jul 28 18:46:16 redcat2-pc com.deepin.daemon.Dock[685]: runtime_apps.go:314: org.gnome.gedit change to dock
Jul 28 18:46:16 redcat2-pc daemon/dock[10702]: runtime_apps.go:104: NewRuntimeApp for org.gnome.nautilus
Jul 28 18:46:16 redcat2-pc com.deepin.daemon.Dock[685]: runtime_apps.go:104: NewRuntimeApp for org.gnome.nautilus
Jul 28 18:46:16 redcat2-pc daemon/dock[10702]: manager.go:125: register entry success: dde.dock.entry.d72ac67b852de0f002b0fc9efbf83f9f2
Jul 28 18:46:16 redcat2-pc com.deepin.daemon.Dock[685]: manager.go:125: register entry success: dde.dock.entry.d72ac67b852de0f002b0fc9efbf83f9f2
Jul 28 18:46:16 redcat2-pc com.deepin.daemon.Dock[685]: runtime_apps.go:298: org.gnome.nautilus Item is docked: true
Jul 28 18:46:16 redcat2-pc daemon/dock[10702]: runtime_apps.go:298: org.gnome.nautilus Item is docked: true
Jul 28 18:46:16 redcat2-pc com.deepin.daemon.Dock[685]: runtime_apps.go:302: org.gnome.nautilus change to undock
Jul 28 18:46:16 redcat2-pc daemon/dock[10702]: runtime_apps.go:302: org.gnome.nautilus change to undock
Jul 28 18:46:19 redcat2-pc tyk[3330]: time=“Jul 28 18:46:19” level=warning msg=“Attempted administrative access with invalid or missing key!”
Jul 28 18:48:47 redcat2-pc tyk[3330]: time=“Jul 28 18:48:47” level=warning msg=“Attempted administrative access with invalid or missing key!”
Jul 28 18:50:58 redcat2-pc tyk[3330]: time=“Jul 28 18:50:58” level=warning msg=“Attempted administrative access with invalid or missing key!”

Well, there’s something wrong with that curl command, either the secret in the header is wrong or the name of the header.

Have you tried just using a GET? Are you sure this secret that you’re using exactly matches what is in your tyk.conf?

Maybe try and use PostMan instead of curl?