When uploading artefacts and getting "Internal Server Error"

Issue when uploading artifacts into the server

Am running my own server of GitLab CE on Kubernetes. However when using archive artifacts and getting 500 error. Exact error information can be found below:

CI Script

    stages:
      - build_source

    cache:
      paths:
        - .m2/
    variables:
      DOCKER_DRIVER: overlay2
      DOCKER_HOST: tcp://localhost:2375
      DOCKER_TLS_CERTDIR: ""
      MAVEN_OPTS: "-Dmaven.repo.local=.m2"

    services:
      - docker:19.03.0-dind

    build:source:
      image: maven:3-jdk-8
      stage: build_source
      artifacts:
        paths:
          - auth/target/Auth.jar
      script:
        - mvn package

Error Information

auth/target/Auth.jar: found 1 matching files       
WARNING: Uploading artifacts to coordinator... failed  id=1438 responseStatus=500 Internal Server Error status=500 Internal Server Error token=awugyhz3
WARNING: Retrying...                                error=invalid argumentWARNING: Uploading artifacts to coordinator... failed  id=1438 responseStatus=500 Internal Server Error status=500 Internal Server Error token=awugyhz3
WARNING: Retrying...                                error=invalid argumentWARNING: Uploading artifacts to coordinator... failed  id=1438 responseStatus=500 Internal Server Error status=500 Internal Server Error token=awugyhz3
FATAL: invalid argument                            
ERROR: Job failed: command terminated with exit code 1