The example I saw from the official documentation was a single file upload :
However, there will be multiple files after I build. How can I upload them? I tried to package only one file but got an error


Hi @ntmxglrtayl03 ,
the endpoint only accepts one file upload per request. The easiest would probably be to write a small script where you iterate over all your sourcemaps and upload them one-by-one. The important part is to use a unique combination of service_version, bundle_filepath and service_name per service map, as these fields define the unique key with which source maps are fetched.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.